package org.zfm.base;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class BaseQuery {
    private Integer currentPage;
    private Integer pageSize;
    public Integer getStart(){
        return (this.currentPage-1)*pageSize;
    }
}
